{#
This file is part of EC-CUBE

Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.

http://www.ec-cube.co.jp/

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#}
{% extends 'default_frame.twig' %}

{% set mypageno = 'withdraw' %}

{% set body_class = 'mypage' %}

{% block main %}
<h1 class="page-heading">マイページ/退会手続き</h1>
<div id="withdraw_wrap" class="container-fluid">
    {% include 'Mypage/navi.twig' %}
    <div id="withdraw_box" class="unsubscribe_box">
        <form method="post" action="{{ url('mypage_withdraw') }}">
        {{ form_widget(form._token) }}
        <div id="withdraw_box__body" class="row no-padding">
            <div id="withdraw_box__body_inner" class="col-sm-6 col-sm-offset-3">
                    <div class="icon"><svg class="cb cb-warning"><use xlink:href="#cb-warning" /></svg></div>
                    <h3>退会手続きの前にご確認ください</h3>
                    <p>会員を退会された場合には、現在保存されている購入履歴やお届け先等の情報は、すべて削除されますがよろしいでしょうか？</p>
            </div>
        </div>
        <div class="row">
            {% for f in form %}
                {% if f.vars.name matches '[^plg*]' %}
                    <div class="extra-form dl_table">
                        {{ form_row(f) }}
                    </div>
                {% endif %}
            {% endfor %}
        </div>
        <div id="withdraw_box__confirm_button" class="row">
            <div class="btn_group col-sm-offset-4 col-sm-4">
                <p><button type="submit" class="btn btn-info btn-block" name="mode" value="confirm">会員退会手続きへ</button></p>
            </div>
        </div>
        </form>
    </div>
</div>
{% endblock %}
